package com.weishu.core.service.impl;

import com.weishu.core.caiwu.JrFactoringRequestDto;
import com.weishu.core.caiwu.JrFactoringResponseDto;
import com.weishu.core.entity.JrFactoringDetail;
import com.weishu.core.mapper.JrFactoringDetailMapper;
import com.weishu.core.service.IJrFactoringDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
@Service
public class JrFactoringDetailServiceImpl extends ServiceImpl<JrFactoringDetailMapper, JrFactoringDetail> implements IJrFactoringDetailService {


    @Resource
    private JrFactoringDetailMapper jrFactoringDetailMapper;

    @Override
    public List<JrFactoringResponseDto> searchJrFactoringDtPage(JrFactoringRequestDto jrFactoringRequestDto) {
        // 分页查询
        return jrFactoringDetailMapper
                .searchJrFactoringDtPage(jrFactoringRequestDto);
    }
}
